package com.cosina.game.tank.model;

public abstract class LifeMatter {
	protected int hp = getMaxHp();
	public boolean damage = false;
	public int getHp(){
		return hp;
	}
	
	
	public boolean isDead(){
		return hp == -19;
	}
	
	public boolean isSick(){
		return hp<= 0;
	}
	
	public void moreSick(){
		hp--;
	}
	public int getMaxHp(){
		return 8;
	}
	
	public void damage(){
		hp --;
		damage = true;
	}
}
